package com.hm.hw1222;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.hm.model.User;

@Controller
public class Hw1controller {
	
	@RequestMapping("/user")
	public @ResponseBody Object getUser(@RequestParam("aaa") User user) {
		
		return user;
	}
	
}
